package com.example.yls.demoa;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

/**
 * Created by yls on 2018/10/22.
 */

public class StuViewHolder extends RecyclerView.ViewHolder{
    public StuViewHolder(View itemView) {
        super(itemView);
        view=itemView;
        imageView=itemView.findViewById(R.id.image1);
        nameView=itemView.findViewById(R.id.name);
        ageView=itemView.findViewById(R.id.age);

    }
    View view;
    ImageView imageView;
    TextView nameView;
    TextView ageView;

}
